package com.ruoyi.project.channel.payerInfo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 支付商扩展表 payer_info
 *
 * @author CAIN
 * @date 2019-06-29
 */
public class PayerInfo extends BaseEntity
{
	private static final long serialVersionUID = 1L;

	/** id */
	private Long payerId;
	/** 支付商编号 */
	private String payerNo;
	/** apikey */
	private String apiKey;
	/** 下单服务端网关 */
	private String serviceUrl;
	/** 回调ip */
	private String serviceIp;

	public String getAddressUrl() {
		return addressUrl;
	}

	public void setAddressUrl(String addressUrl) {
		this.addressUrl = addressUrl;
	}

	private String addressUrl;
	public void setPayerId(Long payerId)
	{
		this.payerId = payerId;
	}

	public Long getPayerId()
	{
		return payerId;
	}
	public void setPayerNo(String payerNo)
	{
		this.payerNo = payerNo;
	}

	public String getPayerNo()
	{
		return payerNo;
	}
	public void setApiKey(String apiKey)
	{
		this.apiKey = apiKey;
	}

	public String getApiKey()
	{
		return apiKey;
	}
	public void setServiceUrl(String serviceUrl)
	{
		this.serviceUrl = serviceUrl;
	}

	public String getServiceUrl()
	{
		return serviceUrl;
	}
	public void setServiceIp(String serviceIp)
	{
		this.serviceIp = serviceIp;
	}

	public String getServiceIp()
	{
		return serviceIp;
	}

	public String toString() {
		return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
				.append("payerId", getPayerId())
				.append("payerNo", getPayerNo())
				.append("apiKey", getApiKey())
				.append("serviceUrl", getServiceUrl())
				.append("createTime", getCreateTime())
				.append("updateTime", getUpdateTime())
				.append("remark", getRemark())
				.append("serviceIp", getServiceIp())
				.toString();
	}
}
